A judge ruled that Kerri Bedrick, 34, will be committed to a mental hospital until doctors determine she is competent to return to court.