Fix the advmod-rule helper function

Fix the bug that InheritanceLink has been used to connect ConceptNode and PredicateNode