Rinse the beans and put them into a soup pot filled with water (about 8 cups). Add the bay leaves and cook between 45–90 minutes, or until the beans are soft.
Meanwhile, chop the onion, garlic, and oregano leaves. Put the olive oil in a sauce pan and turn the heat on medium. Add the onion, oregano, and spices and sauté for 5 minutes, stirring occasionally.Add the sautéed onion, garlic, oregano, and spices into the beans with the vegetable stock and continue to cook until the beans are tender, almost falling apart, for about 20 minutes.
While the soup is cooking, prepare the rice.
Serve in a bowl with the green rice over it and a quick drizzle of olive oil, some salt if necessary, chili flakes, and lime.