a movie theater makes a rule that customers can only eat snack purchased at the theater.
This was called mercantilism. Basically, Great Britain, who was like the movie theater, made the colonies, who were like the customers, to trade only with Great Britain and nobody else, that is they made them only eat snacks from the theater. This was common for colonies of other nations too.