Kevin Hayes scored the lone shootout goal and Martin Jones turned aside 46 of 49 shots as the Philadelphia Flyers edged the New York Rangers 4-3.