You sure?
You had an Attack Substitution and according to the Reffing training grounds:
"Attack Substitution:
For each of their Pokemon, a Player acting first may create a Substitution based on one or more specific Attack or Command the opponent can issue and Substitute their called Actions."
The action I issued A2 was rest, not struggle (although I know it will end up struggling). Since the attack issued or called was rest, the sub applies.
BUT if you maintain your ruling, let me know, so I can change my actions.