Prepare the sauce: Combine the coconut, green chilies, ginger, parsley or coriander, and yogurt in a blender.
Blend until smooth. Scrape the mixture into a small bowl and stir in the turmeric, salt, and pepper.
Set aside.
Sauté the cauliflower: Heat 3 tablespoons (45 ml / 1.5 fl oz) of ghee or oil in a heavy saucepan over moderately high heat.
Add the cauliflower florets and stir-fry for about 5 minutes, until they have light brown edges.
Cook the cauliflower in sauce: Pour the yogurt mixture over the cauliflower and stir well.
Reduce the heat slightly and cook, stirring occasionally, until the sauce has thickened and the cauliflower is about half-cooked.
Remove the cauliflower from the pan and set it aside in a bowl. Wipe the pan clean.
Temper the spices: If using basmati rice, wash and soak it according to package directions.
In the same saucepan, heat 1½ tablespoons of ghee or oil over moderate heat.
Add the cassia or bay leaf, cumin seeds, mustard seeds, and cardamom pods.
Fry until the mustard seeds turn gray and begin to pop.
Cook the rice: Add the drained rice to the pan and stir-fry for 2-3 minutes to toast the grains.
Pour in the water and sugar, increase the heat to high, and bring to a full boil.
Steam together: Stir the seasoned cauliflower into the boiling rice. Immediately reduce the heat to the lowest setting and cover with a tight-fitting lid.
Simmer gently for 20-25 minutes, without stirring, until all the liquid is absorbed and the rice is tender.
Rest and serve: Turn off the heat and let the dish sit, covered, for 5 minutes. This allows the fragile rice grains to firm up. Just before serving, add the remaining 1½ tablespoons of ghee or oil, fluff gently with a fork, and garnish with lemon or lime wedges.
Don't skip the final 5-minute rest period after cooking. This crucial step allows the steam to distribute evenly and helps the delicate basmati grains to firm up, preventing them from breaking when you fluff the rice.