Service/ShipmentRuleManager.php
protected function checkRule($valueToCheck, $operator, $value)
    {
        switch ($operator) {
            case '<':
                return $valueToCheck < $value;
            case '<=':
                return $valueToCheck <= $value;
            case '===';
            case '==';
            case '=';
                return $valueToCheck === $value;
            case '>':
                return $valueToCheck > $value;
            case '>=':
                return $valueToCheck >= $value;
            default:
                return false;
        }

    }
protected function checkRule($valueToCheck, $operator, $value)
    {
        switch ($operator) {
            case '<':
                return $valueToCheck < $value;
            case '<=':
                return $valueToCheck <= $value;
            case '===';
            case '==';
            case '=';
                return $valueToCheck === $value;
            case '>':
                return $valueToCheck > $value;
            case '>=':
                return $valueToCheck >= $value;
            default:
                return false;
        }

    }
@param $valueToCheck
@param $operator
@param $value

@return bool