The rule, adopted by the Judicial Council, was mandated by the California Legislature.