The combination of rice and beans is a staple in much of the world, including Mexico, Cajun country, and the Caribbean, where it's flavored with coconut milk and ground allspice, and often called rice and peas.
In a medium saucepan cook chopped onion and garlic in hot butter until onion is tender. Add rice; cook and stir constantly over medium heat about 5 minutes more or until rice is golden.
Add broth; coconut milk; beans; jalapeno pepper; dried thyme, if using; salt; and allspice. Bring to boiling; reduce heat. Cook, covered, over medium heat for 15 to 20 minutes or until rice is tender and mixture is creamy. Stir in fresh thyme, if using. Sprinkle with green onions. Makes 4 to 5 servings.