Our current environment uses HPE switches and I'm writing a rule to looking a certain command on two different flavors of port setup. The issue is if I have both types in the config block the rule flags my trunk.
Here's the setup I'm using:

Here;s the port it's flagging:

Thank you for your help!!!