rules: move edge names after type fixes resolving