Abstract restrictions on resource resolution with patterns.