Judge rules against APA in Lewis Farm case