[ticket/12838] Simplify special rank template conditional

PHPBB3-12838
[ticket/12838] Add raw row-data to acp_ranks core event

PHPBB3-12838