Well, it might be different for other classes, but they hit the nail on the head for shadow priests.
Our weights are like Int = 1, best secondary = 0.6, other secondaries = 0.55, versatility = 0.50, and the best secondary depends on your talent setup and the fight mechanics. The result is...