A Virginia appellate court has, for the first time, set out factors the state's courts should consider when deciding whether a defense lawyer-turned-prosecutor has been sufficiently screened from a former client's new case.