add deleteRuleSet, better saveRule