For Rice-
Add whole spices, ghee, lemon juice and salt in water and bring it to boil. Add rice and let it cook at high flame until the rice grains start to float on the surface.Let it simmer on medium flame until the rice is almost cooked, which can be check by pressing a grain between fingers.Take off the flame, strain, and pour cold water immediately all over it to stop further cooking process. Remove the whole spice and keep it aside.