I've read that it is untrue that uncooked rice swells in a bird's stomach, but you hear so often that that is the case, I'm just not sure. Additionally, I know it is recommended people always cook rice and not leave it out at room temperature because of bacillus cereus (a bacteria often found it rice that causes food poisoning). I assume, as I do not know for sure, that this bacteria is also harmful to birds, and cook the rice and only offer it to my bird for a short period of time for this reason. That being said, does anyone know for sure if it is, in fact, harmful to birds?
Beans are always to be cooked, as certain beans contain enzyme inhibitors that block the bird's body from being able to absorb key nutrients (trysin and chymotrypsin specifically). Cooking the beans (or soaking and then cooking for dried beans) destroys these enzymes so they no longer pose a problem. Birds fed large quantities of uncooked beans can actually develop deficiencies for this reason.