When attempting to write rules for CICS command responses, the returned messages from CICS commands issued through rules do not contain a distinct message ID, making it difficult to target them with standard automation rules.
z/OS
Instead of issuing the CICS command directly from AOF rules, it's recommended to invoke an OPS/REXX from the rule. Once the OPS/REXX is started, it can issue the CICS command and the response is returned to EDQ, from where it can be further processed and acted upon.
Related documentation for processing of the output: OPER