Grind all ingredients given to a smooth paste. Take chicken in a bowl, add all ingredients except oil and rice flour along with the ground masala and mix well. Leave to marinate for 3 to 4 hours or overnight.
Before frying, add rice flour and mix well. Now drop this in hot oil and fry till golden for 8 to 10 mins. Drain and set aside.
In a separate pan, heat oil and add fennel seeds. Let them sizzle.
Add in onions and cook till golden, add green chillies and mix well.
Add turmeric powder and mix well.
Add in tomatoes and cook till it gets mushy. Add in chilli, garam masala powder and salt and mix well.