I'm not sure how it will apply to this building but when I bought my house there was a similar rule although it was maximum of one dog. I questioned my solicitor about it and they said that it's pretty much unenforceable.
Best thing to do will be to speak to your solicitor.