Land topographical studies and engineering diagrams can easily display that your rainfall collection methods are or are not contributing to the neighborhood flooding. Visit the village engineering department to get the details of the information they have accumulated.
This kind or local ordinance is not a rare occurrence. Most towns, villages and cities have such measures in place to make sure that no one owner of land can flood out adjacent properties and adversely affect adjacent property values.
If your gutters are not the problem the engineering information should prove your point.
You might find my Legal Guide helpful "Ethics: Yes I Need a Lawyer!"
Check with a lawyer in your locale to discuss more of the details.
Good luck to you.
NOTE: This answer is made available by the out-of-state lawyer for educational purposes only. By using or participating in this site you understand that there is no attorney client privilege between you and the attorney responding. This site should not be used as a substitute for competent legal advice from a licensed professional attorney that practices in the subject practice discipline and with whom you have an attorney client relationship along with all the privileges that relationship provides. The law changes frequently and varies from jurisdiction to jurisdiction. The information and materials provided are general in nature, and may not apply to a specific factual or legal circumstance described in the question.