James Dolan is the president of Cablevision and the chairman of Madison Square Garden , which runs the Knicks , the Rangers of the N.H.L . and the Liberty of the Women 's National Basketball Association .