Here's why:
* Prepositional phrases start with a preposition (like "after", "in", "on", etc.) and end with a noun or pronoun (the object of the preposition).
* "after" is the preposition.
* "a good rain" is the noun phrase that acts as the object of the preposition.
The prepositional phrase modifies the verb "stomp", telling us when the action takes place.