autocomplete ranker group refactor

Auditors: blackmad