Best condos restrict rentals

Is such a rule legal?

Get Smarter. Grow Your Referral Network.
Limited seating available for Inman Connect San Francisco