Do you want them in freezer to avoid bugs?
I would think you would want to repackage into something stronger than original package—be that freezer Tupperware- type containers or heavy duty zip lock. The packaging I have seen for rice and beans is a very thin plastic—think that “freezer smell” might permeate thru it. Also could easily tear.
That said, I have rice in a very large glass jar.
I have them in Ziplock freezer bags and they are still in original pkgs.
lol I have a large unique looking glass container on the shelf, with an assortment of beans I’ve had for 38 years.
It’s sort of a symbol I made so I’ll feel secure in the fact that I’ll always have food in the house. Just a silly thing. Probably full of bugs. If I’m starving they might taste pretty good though.