[ticket/12809] Remove obsolete rules and selector.

PHPBB3-12809