Ruiz opened the scoring with a solo homer in the top of the fifth inning. Burrell made Philadelphia's lead 2-0 with a solo shot in the sixth.
Three players had two hits each for the Phillies, whose record rose to 14-4 in their last 18 road games.
The winner was reliever J.C. Romero (4-1). He faced only two batters in the seventh.
Losing pitcher Jo-Jo Reyes (2-4) surrendered four earned runs and seven hits in 7 1/3 innings with two walks and eight strikeouts.