createRareFeatureRemover function

Create the settings for removing rare features