Stocks rise with oil prices, consumer stocks gain ground