Change addKeyedRule/removeKeyedRule to addRules/removeRule