Preserving pole assignable systems and reachable systems in commutative rings