I use my rice cooker for pillau rice as follows-
Wash the rice in several changes of water
Heat some ghee in a pan and add whole spices ,cardamon,cloves,bay leaves, cassia and whatever else takes your fancy.
Add the rice and coat with ghee and stir fry for about 1min
Transfer to rice cooker add tumeric(optional) and salt to taste.
Press go and wait perfect rice every time ;D