If you freeze it for 24 hours it will kill them off. Can be a good idea to do that when it comes into the house anyway as they might be in there already.
Easy enough to separate them out of the rice after freezing too.
For the same reason (kill bugs), the same thing is recommended when you buy flour. Put it in the freezer for 24+ hours, then take it out and store at room temperature.
Easy enough to separate them out of the rice after freezing too.