changes ranking to rating on graph
fixes end rank bug