Put the sugar and water into a saucepan and dissolve the sugar over low heat. Bring gently to the boil and stir in the raisins. Simmer for 15 minutes. Cool for 2 hours and then stir in the rum. Store in small screw-top jars. Use as a sauce for ices or puddings.