Is it against the rules of the homeowners association to rent out a portion of your house on the lake?...say a granmother apartment?

I was told it can be a 30,000 dollar fine. Is that true?

Thanks for the information,
Steve