Refactor to allow better access for introspection into Rulesets