Mix together the sugar, egg yolks and lime juice over a bain-marie until frothy and thick. Allow to cool down and then delicately add the egg whites that have been stiffly beaten. Add the rum and grated lime zest and allow to set in the fridge for 2 hours.