rule type and action are required parameters