make attribute "type" optional for action "clearRules"