Added not function to Ruleset