In another bowl, cream the butter and sugar with an electric mixer. Add the eggs, one at a time, and beat until smooth. With the machine running on low speed, add the dry ingredients alternating with the pineapple and rum. Spread the batter out in the prepared pan.