Rosario, who had two hits in the game, delivered the game-winner off Matt Reynolds (0-2) after Arizona gave up a one-out double to Carlos Gonzalez and then intentionally walked Troy Tulowitzki, who had smacked a solo home run earlier in the game.
DJ LeMahieu went 3-for-4 and drove in two runs for the Rockies who have won four of their last five games. Wilton Lopez (1-1) closed out the 10th for the win.
Arizona scored four runs in the seventh inning to tie the score 4-4 and send the game into extra innings.
Wisconsin business offering 'therapeutic cuddling' forced to close
Exploding whale video goes viral on Internet