To set the rule to the element, select the defined group of rules in the State rule list on the settings panel of the corresponding object (the OPC DA state rule object).