A federal judge has ruled Nashua officials didn't violate the First Amendment rights of a Gate City resident when they rejected her application to display right-wing flags outside City Hall this fall.