Added the detection for remove-empty-rulesets option