Cole Hamels, Rangers had good game plan in loss