"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateSingleToMultiplePredicates = void 0;
function updateSingleToMultiplePredicates(rule) {
    if ('Predicate' in rule && rule.Predicate) {
        rule.Predicates = [rule.Predicate, ...(rule.Predicates ?? [])];
        delete rule.Predicate;
    }
    return rule;
}
exports.updateSingleToMultiplePredicates = updateSingleToMultiplePredicates;
