If I bring a challenge to a statute, ordinance or government regulation while litigation is pending, may I talk to the officials to attempt to have them change the law, ordinance or statute?

Normally, when there is litigation, one cannot contact representatives of the organization being sued. Under Rule of Professional Conduct 4.2, a lawyer cannot communicate about the subject of representation with a person the lawyer knows to be represented.