The rum in this recipe can be replaced with vanilla extract if preferred. If using vanilla in the buttercream, I usually reduce the vanilla (using 1 teaspoon instead of the 2 called for with the rum). This is because extracts tend to provide a stronger flavour than liqueurs when adding to frostings or bakes.