There are three ways of doing this, the way davidfor stated, through saved searches, and through restrictions. They are all
explained on this page. The example says Genre, when you go through this example just substitute playlists whenever they say genre.