Producers of metals and other raw materials rose, returning to the flat line for the year to date, amid deal activity and as traders awaited the latest inflation data.