Question: are ants attracted to rice?
Answer: Ants would not be attracted to rice. If the weevils are developing in your home, they are probably coming from eggs in the rice that you buy, unless they take a long time to show up.