Classical guitar: notation of apoyando (rest stroke)

Just for my information and perhaps future use: what is the difference between a free stroke and a rest stroke.

(As you can easily surmise, I do not play guitar.)