While the pressure cooker is doing its work, prepare the aloo palak masala to go with the rice. In a large kadai, heat ghee. Add all the whole spices. Stir for a few seconds, then add the sliced onions, ginger-garlic paste. Saute on medium heat for 6-7 minutes, until onions are translucent.