export function updateSingleToMultiplePredicates(rule) {
    if ('Predicate' in rule && rule.Predicate) {
        rule.Predicates = [rule.Predicate, ...(rule.Predicates ?? [])];
        delete rule.Predicate;
    }
    return rule;
}
