Add a rule to prevent import cycles.