I believe this is an example of a metaphor or using an expression which does not literally relate to the subject at hand although in this case we know that in a rice cooker it takes only about 20 minutes to cook the rice so though cooking rice and a storm do not normally relate to each other, in the time aspect they may relate.