Note that the design rule check uses the current board rule settings, not the current style settings.