A New York state appeals court ruled Tuesday that New York City can move ahead with plans to build a new jail to replace Rikers Island in Manhattan's Chinatown neighborhood, rejecting a challenge from residents who said the process ran afoul of local zoning laws.