As rice is by nature a starchy food, you cannot completely get rid of the bubbles as it cooks, but you can minimize it. Washing the rice several times prior to cooking, adding a little fat to create a barrier between the water and the starch, using the right water-to-rice ratios, using the right pot size, and choosing long-grain rice over short-grain rice are some ways you can minimize rice bubbling while cooking.