Is it possible to remove the smell from rice mistakenly stored in a detergent box?
The simplest trick is to place all the contaminated rice in the detergent box in the nearest trash bin, then obtain new rice. When it comes to cheap food staples like rice it's not worth the risk of eating tainted product, specially with substances that can wreak havoc on your digestive system like detergents.