edk2toollib/windows/policy/firmware_policy.py
def AddRule(self, regRule) -> bool:
        """ AddRule does not update the valuetable, use Serialize to do that after all rules are added """
        for rule in self.Rules:
            if (rule == regRule):
                return False
        self.Rules.append(regRule)
        self.RulesCount += 1
        return True
 AddRule does not update the valuetable, use Serialize to do that after all rules are added 
AddRule does not update the valuetable, use Serialize to do that after all rules are added
AddRule does not update the valuetable use Serialize to do that after all rules are added
def AddRule(self, regRule) -> bool:
        for rule in self.Rules:
            if (rule == regRule):
                return False
        self.Rules.append(regRule)
        self.RulesCount += 1
        return True
def AddRule ( self , regRule ) -> bool : for rule in self . Rules : if ( rule == regRule ) : return False self . Rules . append ( regRule ) self . RulesCount += 1 return True
AddRule does not update the valuetable, use Serialize to do that after all rules are added
AddRule does not update the valuetable use Serialize to do that after all rules are added
""" AddRule does not update the valuetable, use Serialize to do that after all rules are added """
self
regRule