Rule‐Based Classification of Chemical Structures by Scaffold