code: def compile_rules(self):
          
          output = []
          # validate configuration, skip invalid section
          for key_name, section in self.config.items():
              rule = self.compile_section(section)
              if rule is not None:
                  output.append(rule)
          return output
docs: Compile alert rules
          @rtype list of Rules