Gordon Ramsay's SECRET to a Great Red Wine Reduction

1 medium sized shallot 3 medium sized garlic cloves 3 sprigs rosemary 1½ cups red wine  5 tbsp balsamic vinegar 1½ cups beef stock or broth 4 tbsp butter