Cleaning, added minor protection to the Ruleset (can't add Ruleset more than once), added a test on that.