(a) A public officer may not represent, advise, or assist a person in any matter pending before the administrative unit that the officer serves, if the representation, advice, or assistance is
- (1) for compensation, unless the representation, advice, assistance, and compensation are required by statute, regulation, or court rule, or is otherwise customary; or
- (2) without compensation, but rendered to benefit a personal or financial interest of the public officer.