Rulesets
Started refactoring rule loading in to its own class. Also changed action rules to optionally take a value, even when it isn't necessary.