An agreement in principle has been reached on the settlement of some natural gas in rubles