Judge rules against former Indiana teacher who said he was f