def setRuleComponents(self): """ collect components that match rule """ setmgr = ProfileSets(self.dmd) devices = self.ruleset.getCurrentDeviceMatches() + self.ruleset.getPotentialDeviceMatches() setmgr.evalRuleComponents(self,devices)