Roast the almonds in the oven at 200 °C (upper and lower heat) for 10 minutes. Beat the room-temperature butter together with the icing sugar, rum, and egg. Fold in the flour, almonds, and rum raisins, then spread the mixture evenly in a baking dish. Bake in the oven for 40 minutes at 170 °C.