protected function convertValue(array $price_rule, $currency)
    {
        $amount = $this->price->amount(abs($price_rule['value']), $price_rule['currency']);
        $converted = $this->currency->convert($amount, $price_rule['currency'], $currency);
        return $price_rule['value'] < 0 ? -$converted : $converted;
    }