check for rules to exist