docs: def loadRule(rule_json_object):
      """ Method to load the rules - when adding a new rule it must be added to the if statement within this method. """
      name = rule_json_object['name']
      rule_type = rule_json_object['rule_type']
      validation_regex = None
      required = False
      removehtml = False
      include_end_regex = False #Default to false for bakward compatibility
      strip_end_regex = None
      sub_rules = []
      begin_stripe_id = None
      end_stripe_id = None
      begin_shift = 0
      end_shift = 0
  
      if 'sub_rules' in rule_json_object:
          sub_rules = rule_json_object['sub_rules']
      
      if 'validation_regex' in rule_json_object:
          validation_regex = rule_json_object['validation_regex']
      
      if 'required' in rule_json_object:
          required = rule_json_object['required']
      
      if 'removehtml' in rule_json_object:
          removehtml = rule_json_object['removehtml']
          
      if 'include_end_regex' in rule_json_object:
          include_end_regex = rule_json_object['include_end_regex']
      
      if 'strip_end_regex' in rule_json_object:
          strip_end_regex = rule_json_object['strip_end_regex']
  
      if 'begin_stripe_id' in rule_json_object:
          begin_stripe_id = rule_json_object['begin_stripe_id']
  
      if 'end_stripe_id' in rule_json_object:
          end_stripe_id = rule_json_object['end_stripe_id']
  
      if 'begin_shift' in rule_json_object:
          begin_shift = rule_json_object['begin_shift']
  
      if 'end_shift' in rule_json_object:
          end_shift = rule_json_object['end_shift']
  
      rule = {}
      
      """ This is where we add our new type """
      if rule_type == ITEM_RULE or rule_type == 'RegexRule':
          begin_regex = rule_json_object['begin_regex']
          end_regex = rule_json_object['end_regex']
          rule = ItemRule(name, begin_regex, end_regex, include_end_regex, strip_end_regex, validation_regex, required,
                          removehtml, sub_rules, begin_stripe_id, end_stripe_id, begin_shift, end_shift)
      if rule_type == ITERATION_RULE or rule_type == 'RegexIterationRule':
          begin_regex = rule_json_object['begin_regex']
          end_regex = rule_json_object['end_regex']
          iter_begin_regex = rule_json_object['iter_begin_regex']
          iter_end_regex = rule_json_object['iter_end_regex']
          no_first_begin_iter_rule = False
          if 'no_first_begin_iter_rule' in rule_json_object:
              no_first_begin_iter_rule = rule_json_object['no_first_begin_iter_rule']
          no_last_end_iter_rule = False
          if 'no_last_end_iter_rule' in rule_json_object:
              no_last_end_iter_rule = rule_json_object['no_last_end_iter_rule']
          
          rule = IterationRule(name, begin_regex, end_regex, iter_begin_regex, iter_end_regex,
                                    include_end_regex, strip_end_regex, no_first_begin_iter_rule,
                                    no_last_end_iter_rule, validation_regex, required, removehtml,
                                    sub_rules, begin_shift=begin_shift, end_shift=end_shift)
  
      if 'id' in rule_json_object:
          rule.id = rule_json_object['id']
      
      return rule