docs: @SuppressWarnings("rawtypes")
      boolean predicateMatchRules(
              final Map<String, String> resource,
              final Function<String, Predicate<String>> predicateTransformer,
              final Function<List, Predicate<String>> listpred,
              final Map<String, Object> ruleResource, final String sourceIdentity
      )
      {
          for (final Object o : ruleResource.entrySet()) {
              final Map.Entry entry = (Map.Entry) o;
              final String key = (String) entry.getKey();
              final Object test = entry.getValue();
  
              final boolean matched = applyTest(resource, predicateTransformer, key, test, listpred, sourceIdentity);
              if (!matched) {
                  return false;
              }
          }
          return true;
      }