Combine water, sugar and coffee and bring to a boil. Simmer very low, uncovered, for 1 hour. Cool completely. Add rum and vanilla.