@staticmethod
    def get_rules(xml):
        rules = []
        if xml.namespaces in 'plos': 
            for rule_elem in xml.xpath('./plos:fw_rule | ./fw_rule'):
                rule = FWRule(rule_elem.attrib, rule_elem)
                rules.append(rule)  
        return rules
dataset/ETHPy150Open fp7-ofelia/ocf/vt_manager/src/python/vt_manager/communication/sfa/rspecs/elements/versions/plosv1FWRule.py/PLOSv1FWRule.get_rules/swapped operands of `in`