Rinse rice well and drain. Heat ghee in a pot and fry the sliced onions and pounded garlic until soft and fragrant. Add water.
Add the cloves, star anise, cinnamon stick, cardamom, salt and pepper and bring to a boil. Reduce heat and add in the rice, stir well and cook covered over low heat. When the rice is almost dry, add the sultanas and mix well then leave to cook. Garnish with fried shallots.