(a) If during the term of imprisonment a prisoner commits any offense or violates the rules of the institution, all or any part of his earned good time may be forfeited.
(b) The Police Commissioner may restore any forfeited good time or such portion thereof as he deems proper.