Judge upholds home rule in Dryden case