[ticket/12304] Add CSS class to rules-link container

When a forum has a forum-rules link instead of forum-rules text, there
is no way to distinguish in the styling of the container (or the button)
it will have.

It should be possible to style the <div class="rules"> container
differently if there is only a link (no text).

PHPBB3-12304
Merge remote-tracking branch 'paybas/ticket/12304' into develop-ascraeus

* paybas/ticket/12304:
  [ticket/12304] Add CSS class to rules-link container