Take a large bowl to combine red pepper, tomatoes, chillies, coriander, lemon juice, basil, beans, cayenne pepper and sweet corn. Stir these vegetables in order to combine them and then set aside.
Get a medium sized saucepan and set it at medium low heat to heat the olive oil. Add onions and cook until they become translucent. Then, add garlic to it and cook for one more minute. Subsequent to this, transfer the rice to this saucepan and toss until it gets coated.
Sauté the rice as per the specifications mentioned on its packaging. When the rice are cooked allow them to cool down slightly.
Then, combine the mixture of vegetables and rice. Add salt and pepper to taste after which this salad is ready to be served.