No, a bylaw cannot be broken (or at least it shouldn't) but you can restrict an activity or a usage that a bylaw works to limit or control in some way. I.e., the bylaw does not give you the right to own a dog in your condo, but it restricts you to owning one of your strata bylaws permit you to own a dog(s).
Correct, rental restriction bylaws are a good example of this.