I am not a Lawyer; however, if the laws concerning your pets were different when you first moved in,
you should be grandfathered in by that law. in other words, if you were allowed to have your pets when your first moved in then they should allow you to keep them; however if the laws were then that you couldn't have your pets, then you have been in violation of the rules unknowingly of course.
You may have to move out or get rid of your pets.
Having said that, you best to consult a lawyer.