Fixing ruleset issue