Judge dismisses all charges against John Rich