I would rather have Ruiz (well, who wouldn't?), but Molina's value comes from his pitch framing.
Jose Molina and Called Strikes - Beyond the Box Score
Ruiz would have made more sense for Boston than the Phillies. Ruiz is a good player. It just isn't what the Phillies needed to do. And by doing that contract, it does the franchise more harm than good.