add group ranks to index

also change styling of _matches partial