Rinse the rice thoroughly in cold water then let soak in water for at least 15 minutes.
Drain the liquid from the can of beans into ameasuring cup and add the can of coconut milk and enough stock to make (approx.)four cups of liquid. (Use the appropriate ratio according to rice cooker instructions.)
Add all the ingredients to the rice cooker, stirring to mix, and set to cook.
Remove from the pot immediately once cooked and fluff with a fork.