Sox claim reliever Rosario from Marlins