ENgetthenaction function

Gets properties of THEN action in rule-based control