What are the transit and stopover rules?

What are the transit and stopover rules?