Morality and restrictions are two different things. Just because someone makes up a rule doesn't mean it's morally enforceable.