Remove from oven and let it rest for about 15 minutes, before removing the foil and serving it over the rice. In a pot over medium heat, pour the oil and sauté the onions until golden brown.