Apple Rosemary Tart