Feature Selection API: done for the rule based filtering
remove nr of doc global variable; wrong name and not used mainly
Fix #18 for flushFeaturesInMemoryIntoDiskVersion3