Lines Matching refs:Rule
281 # extract all children rule and operator
282 childRules = self.extractChildrenByClass([Operator, Rule])
369 class Rule (Element) :
370 """class implementing the rule concept
372 A rule is composed of a criterion, a rule type and an criterion state.
376 tag = "rule"
391 class Operator (Rule) :
402 childWhiteList = ["Rule", "Operator"]
407 """ return a pfw rule (ex : "Any{criterion1 is state1}") generated from "self" and its children options"""
413 rules = self.extractChildrenByClass([Rule, Operator])
416 for rule in rules :
417 PFWRules.append(rule.PFWSyntax(prefix + " "))
431 childWhiteList = ["Rule", "Operator", "Path", "GroupPath"]
437 in a parent will give their rule children to this configuration
446 # add same name configuration rule children to self child list
447 self.addChildren(configuration.extractChildrenByClass([Operator, Rule]), append=False)
462 """make configuration name and rule inheritance"""
466 # check for rule inheritance
491 """Output this configuration's rule as a string"""
494 ruleChildren = self.extractChildrenByClass([Rule, Operator])
496 # Do not create a root rule if there is only one fist level Operator rule
534 childWhiteList = ["Rule", "Operator", "GroupConfiguration", "Configuration", "GroupPath"]
540 in a parent will give their rule children to this configuration
582 childWhiteList = ["Configuration", "GroupConfiguration", "Rule", "Operator"]
585 """ propagate name, sequenceAwareness and rule to children"""
597 # check for rule inheritance
691 childWhiteList = ["GroupDomain", "Domain", "GroupConfiguration", "Rule", "Operator"]
795 Rule,