private static Map<String, List<Rule>> decodeRules(String json) {
        Map<String, List<Rule>> rules = ProxyUtil.convertToObject(json, RULES_TYPE);
        return (rules == null) ? new LinkedHashMap<>() : rules;
    }
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