class_docstr: This class performs sanity checks on configuration objects and (optionally) updates the configurations
      (e.g., synchronize specific key-value pairs) based on a set of rules. 
  
  Args:
      rule_list (list): A list of rules on which all checks and updates are based.
      allow_update (bool, optional): Whether or not to allow updating the configuration object.
class_docstr_tok: ["This","class","performs","sanity","checks","on","configuration","objects","and","(","optionally",")","updates","the","configurations","(","e.g.",",","synchronize","specific","key-value","pairs",")","based","on","a","set","of","rules",".","Args",":","rule_list","(","list",")",":","A","list","of","rules","on","which","all","checks","and","updates","are","based",".","allow_update","(","bool",",","optional",")",":","Whether","or","not","to","allow","updating","the","configuration","object","."]
code: def apply_all_rules(self, cfg):
      for i in range(len(self.rule_list)):
          self.apply_rule(i, cfg)
  
imports: import copy
  from paddleseg.utils import logger
  from paddleseg.utils import utils
label_desc: Use image node_id 3 for calling the ConfigChecker obj's underlying member method code with example usage: obj.apply_all_rules(cfg) without return types