def setRuleMatches(self): """ find potential matches for this rule: potential matches match the rule, but are not members of all rule organizers """ self.rulePotentialMatches = [] self.ruleCurrentMatches = [] setmgr = ProfileSets(self.dmd) data = ProfileData(self.dmd) devices = setmgr.evalRule(self) if devices: data.setRuleMembers(self,devices) else: self.rulePotentialMatches = [] self.ruleCurrentMatches = []