The best way to handle it is to throw it out. To leave cooked rice all night out of the fridge is very dangerous for somebody´s health, specially if there are babies/ kids around or a person with immune compromised system. It could cause food poisoning because of the bacillus cereus bacteria.