Take oil in a medium skillet on medium heat. Add onion, stir and let it cook for 5 minutes. Add in corn kernels. Add 1/2 tomato, stir. Then add in rice, beans, chilli powder, salt, oregano. Stir and let it cook for 5 minutes or until the tomato cooks. Stir in between. Let it cool.