Cook your rice according to the directions, except add salsa with your water.
Coat large frying pan with olive oil. Saute onions and garlic and add chicken.
Add the beans and corn.
When everything has been heated through, add the cooked rice and serve immediately.