As it geared up to fight for rules that were favorable to its private listings strategy, Compass set out to understand where hundreds of MLSs stood — and to create a 1-to-5 ranking system.