static fromMonitor(monitor) {
        const conditions = JSON.parse(monitor.conditions);
        if (conditions.length === 0) {
            return null;
        }

        const root = new ConditionExpressionGroup();
        processMonitorConditions(conditions, root);

        return root;
    }
@param {Monitor} monitor Monitor instance
@returns {ConditionExpressionGroup|null} A ConditionExpressionGroup with the Monitor's conditions