Cook the pasta in salted water for about three minutes and drain. Bring the Merlot with sugar, butter and rosemary to the boil and add the pre-cooked pasta. Let the pasta simmer until the wine has been completely absorbed by the pasta. Salt and pepper the pasta as required and serve with parmesan.