ENsetpremisestatus function

Sets the status being compared to in a premise of a rule-based control