Heat ghee in a pressure cooker on medium heat, add cashews, and fry till they are light golden in color. Then add raisins and fry till they plump up. Then remove them to a plate and set them aside. They will be used for garnishing.
Then add in the whole spices like bay leaf, cinnamon, cloves, cardamom, mace and star anise. Saute for a few seconds or till aromatic.
Add sliced onion, green chilies, and grated ginger, and saute until translucent-stir regularly.
Then add rinsed basmati rice, water, and salt. Give a quick stir.
Close the lid of the cooker, Pressure cook for 1 whistle on medium heat and let the pressure release naturally.
Garnish with roasted cashew nuts, and raisins and gently fluff up the ghee rice with a fork or laddle.