There is a modification called user group legend. Install it and in vBulletin options do the required settings

http://vbulletin.org
http://vbteam.info