code: def rule_operation(self, **kwargs):
          
          config = ET.Element("config")
          rule = ET.SubElement(config, "rule", xmlns="urn:brocade.com:mgmt:brocade-aaa")
          index_key = ET.SubElement(rule, "index")
          index_key.text = kwargs.pop('index')
          operation = ET.SubElement(rule, "operation")
          operation.text = kwargs.pop('operation')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code