In a large saucepan over medium heat, soften the onion and garlic in the oil. Add the rice and stir to coat the grains with oil. Add the broth and tomatoes. Season with salt and pepper. Bring to a boil, lower the heat, cover and simmer until cooked, about 25 minutes.