In a food processor, combine the olive oil, onion, parsley, basil, salt, and pepper, and pulse until combined. You can also do this by hand; just mince up everything as finely as you like and stir it all together in a bowl.
Place the rice in a medium-sized bowl and add the herb dressing. Stir to combine well, and serve warm or at room temperature.
Notes
You can use pretty much any herbs you like, instead of the ones suggested here, which makes this a great way to use up a half a bunch of something left over from another recipe. Some herbs, like rosemary, are more potent, so make sure to taste as you go, and remember that you can always add more. Dried herbs will not work well in this dish, which really highlight those fresh green herbs.