detect useless SUBRULE edges