Wash and pressure cook the rice adding required water and a drop of oil in low flame for one whistle.Open the lid and spread the rice in a plate..Allow it to cool.Rice should be separate.
Finley chop onions,chillies,curry leaves and coriander leaves.Set aside .
In a kadai,heat oil and temper all the ingredients given above.
Now add onions,garlic,chillies and saute till transparent.Add grated coconut (if using) & mix well. Add turmeric powder,salt,mix well and switch off the flame
Add this to the cooked rice and mix well.Add the required lemon juice and check for taste.Add more salt or lime juice if necessary.
Finally garnish with lots of coriander leaves and enjoy serving hot.