Oil prices rise as China factory gains boost demand outlook for fuel