ENgetpremise function

Gets the properties of a premise in a rule-based control.