No rule, really. In informal English, a lot of / lots of is preferred to much in affirmative statements (negatives and interrogatives easily accept much ). Much does appear frequently in formal affirmatives: I am much obliged .
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.