set the rules