Wash rice very well till the water is clear and soak them for atleast 30 minutes.
Add oil in a pressure cooker and add bay leaf, cumin seeds, black cardamom, cloves, green cardamom, star anise, cinnamon and nutmeg. Saute for couple of seconds until cumin splutter.
Add ginger and green chili. Saute till ginger turns golden brown.
Add coriander powder and garam masala. Mix.
Add onion.
Don't let onion turn brown and cook till it becomes pink and translucent.
Add corns and saute for a minute.
Drain water from rice and add rice in pressure cooker.
Pour water and add salt. Mix.
Pressure cook for 2 whistles.
Open the lid once all pressure releases from cooker.
Corn rice are ready.
Enjoy warm after garnishing with fresh coriander/cilantro.