Soak rice in three cups of water for twenty minutes. Drain and set aside.
Heat ghee in a pan, add cinnamon, cloves and green cardamoms and sauté on medium heat.
Add onions and garlic and sauté for another two minutes. Add cashewnuts and raisins and sauté for another minute.
Add drained rice and mix well. Add salt and sugar and three cups of water.
Cover and cook till the rice is done. Serve as an accompaniment with any curry.