move rulesets to separate package