docs: private List<PackageDescr> generatedResourcesToPackageDescr(Resource resource, List<PMMLResource> resources)
              throws DroolsParserException {
          List<PackageDescr> pkgDescrs = new ArrayList<>();
          DrlParser parser = new DrlParser(configuration.getLanguageLevel());
          for (PMMLResource res : resources) {
              for (Map.Entry<String, String> entry : res.getRules().entrySet()) {
                  String key = entry.getKey();
                  String src = entry.getValue();
                  PackageDescr descr = null;
                  descr = parser.parse(false, src);
                  if (descr != null) {
                      descr.setResource(resource);
                      pkgDescrs.add(descr);
                      dumpGeneratedRule(descr, key, src);
                  } else {
                      kbuilder.addBuilderResult(new ParserError(resource, "Parser returned a null Package", 0, 0));
                  }
              }
          }
          return pkgDescrs;
      }