District attorneys and retired district attorneys, calculation of retirement benefits, authorized to advise law enforcement; civil immunity provided; return to work after retirement without loss of benefits; rural recruitment and retention program established