Change HTML output to match related link grouping via linklist rewrite