Judge rules in open carry at the polls