Lines Matching refs:Rule
150 def __TERuleMatch(self, Rule, **kwargs): argument
154 Rule.sctx not in kwargs['scontext']):
159 Rule.tctx not in kwargs['tcontext']):
164 not bool(set([Rule.tclass]) & kwargs['tclass'])):
169 not bool(Rule.perms & kwargs['perms'])):
217 for Rule in self.__Rules:
218 if self.__TERuleMatch(Rule, **kwargs):
219 yield Rule
226 for Rule in self.__ExpandedRules:
227 if self.__TERuleMatch(Rule, **kwargs):
228 yield Rule
305 Rule = TERule(buf.value)
306 Rules.add(Rule)