Grace Hamilton plays crucial role for NSW Waratahs in win over Melbourne Rebels