Changed method for seeing if an empire has a certain rank