This doesn't do anything. Rice absorbs water on contact, and even then requires heat to do so effectively. Rice does not work like the desiccant packets to reduce ambient humidity in a package.
Rice for any length of time is less effective than just using a paper towel to soak up and large drops externally and setting the phone in front of a fan for an hour.