Rice glue is probably a starch glue, because rice contains a lot of starch. As long as there is no moisture involved / nearby, a starch adhesive should hold very well. Shoemakers classically take such a starch glue for the lining and other gluing inside the shoe - since the Middle Ages.