Preheat oven to 425 F / 220 C).
In a medium saucepan, melt the butter. Stir in flour to form a paste.
Add water and brown sugar, and bring to a boil. Reduce temperature and let simmer.
Remove from heat and add vanilla extract, almond extract, orange rind, and rum. Stir to combine.
Place the bottom crust in your pan. Fill with pears. Gently pour the sugar and butter liquid over the crust. Pour slowly so that it does not run off. Cover with a lattice work crust.
Bake 15 minutes in the preheated oven. Reduce the temperature to 350 F / 175 C).
Continue baking for 35 to 45 minutes, until pears are soft.