Added unit tests for #get_ruleset.