Heat butter or oil in a large nonstick, wide-bottomed saucepan over medium heat. Add cinnamon sticks, bay leaf, 1/2 cup onion slices, and rice. Cook for 2 to 3 minutes while stirring, until rice becomes slightly toasted.
Garnish with 1/4 cup onion slices and hard-cooked egg, if using, and serve.