Cook two cups of rice and four cups of water. Cook the rice. Once rice is completely cooked, take the rice in a bowl and keep the bowl in freezer for 20 minutes.
Fry Onion, Beans and other stuff in a pan. and add frozen rice. Add Soy sauce and fry until golden brown.