The action should be defined according to the effect of the rule. So far it provides all the actions regardless of the effect of the rule