ENsetrulepriority function

Sets the priority of a rule-based control.