Abide by (something)

This idiom means: to follow the rules of something.

The cleaning staff must abide by the rules of the school.