hardrule

noun
UK /ˈhɑːdruːl/
US /ˈhɑːrdruːl/

A hardrule is a rule that you must always follow and can never break.

Wearing a helmet is a hardrule when you ride a bike.


OTHER MEANINGS

2. A rule in a game or sport that cannot be changed or ignored.

Not touching the ball with your hands is a hardrule in soccer.

3. A firm limit that a person or group refuses to cross.

Being kind to others is a hardrule in our classroom.

4. A fixed setting in a computer program that the user cannot change.

The app has a hardrule that blocks bad words.