Hungary agreed to pay for Russian gas in rubles