Anatomy of rulesets