Judge to rule in writing following Cox hearing