Government rejects plan for new townhouses in Ripon