Add Ruleset and Rule classes, enums