add locate route; move locate to LocateRule class
v1.0.0