[FIX] renamed field to rule_type from set_type. otherwise it will give error when we will apply value from configaration view.