I have written a tool to check the embedded references in ConfigMgr query-based collection rules.
A very common practice in designing query rules for ConfigMgr collections is to use the SMS_FullCollectionMembership WMI class to effect the inclusion or exclusion of members of other collections into the collection for which the query rule is being written. This tool helps manage those embedded references.
The full article and tool can be found here.
VJD/<><
Posted by scomnivore