Judge rules on witness testimony in upcoming Trudy Appleby trial