Hello Aaron,
The OPSTHRSH function, first introduced in release 12.2, can be used from AOF CMD type rules as well.
Just give it a try using the sample we provide in the books adjusted as a CMD rule and function worked like a charm.
Let us know if you need more help after you give this function a try for your automation needs.
Regards, Cesar
Note: Aaron, since you are in a quest of converting Automate/MVS rules you might want to take a look at release 12.3 PTF RO89955.