[build][bug] graph builder: don’t remove rulename