Lines Matching refs:Rule
135 def __TERuleMatch(self, Rule, **kwargs): argument
139 Rule.sctx not in kwargs['scontext']):
144 Rule.tctx not in kwargs['tcontext']):
149 not bool(set([Rule.tclass]) & kwargs['tclass'])):
154 not bool(Rule.perms & kwargs['perms'])):
202 for Rule in self.__Rules:
203 if self.__TERuleMatch(Rule, **kwargs):
204 yield Rule
211 for Rule in self.__ExpandedRules:
212 if self.__TERuleMatch(Rule, **kwargs):
213 yield Rule
288 Rule = TERule(buf.value)
289 Rules.add(Rule)