Steps
1. In a pan, heat some oil and sauté the chopped onions until they turn golden brown.
2. Add the chopped tomatoes and cook until they soften.
3. Stir in the cooked rice and mix well.
4. In a separate bowl, mix the ketchup with a little water to make a sauce.
5. Pour the ketchup sauce over the rice mixture and stir until well combined.
6. Finally, sprinkle the chopped nuts on top and serve hot.