Suppose you have a building that contains a slot that holds up to 3 rare cards, so you can add a rare and two uncommon cards, for example. Or, following the same slot example, you can add two rare cards and one common. But you will never be able to add an epic or legendary card to that slot, as it goes beyond the maximum rarity limit.