Update old reference from rule to name.