China will restrict production of ethanol produced from grains to reduce pressure on food prices.