Lawmakers OK Department of Corrections' permanent rules that allow it to scan and digitize mail of those in custody.