Lines Matching refs:Rule
164 def __TERuleMatch(self, Rule, **kwargs): argument
168 Rule.sctx not in kwargs['scontext']):
173 Rule.tctx not in kwargs['tcontext']):
178 not bool(set([Rule.tclass]) & kwargs['tclass'])):
183 not bool(Rule.perms & kwargs['perms'])):
235 for Rule in self.__Rules:
236 if self.__TERuleMatch(Rule, **kwargs):
237 yield Rule
244 for Rule in self.__ExpandedRules:
245 if self.__TERuleMatch(Rule, **kwargs):
246 yield Rule
323 Rule = TERule(buf.value.decode("ascii"))
324 Rules.add(Rule)