Beat the yolks in the top of a double boiler until thick and light-colored. Gradually beat in the sugar. Stir in the rum and water. Cook stirring over boiling water until thickened.