In the event that a select group of devices meeting the include criteria (for example $type in ["Router'] ) need to be excluded from the config policy, there is an easy way to achieve this.
1. Create a Device Group (Results --> Network --> Device Group) that includes the devices that need to be excluded from the policy
2. Use the not memberOf ["device group name"] statement within the policy
Example:
Device-Filter: $Vendor ==
"Cisco" and $Type in ["Router", "Switch-Router"] and not memberOf ["device group name"]
If a different policy is to be run on the excluded devices, simply use the memberOf statement without the 'not'.
Example:
Device-Filter: memberOf ["device group name"]