code: def load_rules(self):
          
          self.maps = []
          with open(self.map_file, 'r') as f:
              for line in f:
                  if line.strip(' ')[0:1] != '#':
                      rule = MapRule(line)
                      #print('rule = ', rule)
                      self.maps.append(rule)
docs: load the rules from file