private static String ruleUrl(ResourceDescriptor resource) {
        String prefix = resource.getType().group();
        return resource.getUrl().substring(prefix.length() + 1);
    }
Key is updated time from the metadata. Value is decoded map (folder path, list of rules).
server/src/main/java/com/epam/aidial/core/server/service/RuleService.java