Gold rose, following a two-day decline, as traders weighed China’s buying of the precious metal against the impact of a protracted war in the Middle east on economic growth and inflation.