uses constants from ruleset