Bring to boil over high heat. Reduce heat to medium and simmer beans for 30 minutes. Turn off heat, cover beans, and let rest 1 hour. Bring beans back up to boil over high heat. Add 2 teaspoons salt and garlic, reduce heat to medium, and simmer until beans are tender, 30 to 60 minutes.
If storing the beans, cool completely, transfer beans and some of the cooking liquid to quart-sized zipper-lock bags. When ready to use, thaw out in refrigerator and heat on stovetop in saucepan or microwave.
For the rice: Heat 2 tablespoons oil in large heavy-bottomed saucepan over medium heat until shimmering. Add 2/3 of onion and cook, stirring, until softened and translucent, about 5 minutes.
Add rice and cook, stirring, until grains are shiny and evenly coated with oil, 2 to 3 minutes. Add water or broth and 1 1/2 teaspoons salt, increase heat to high, and bring to a boil. Place bell pepper on top of rice.