optimize rule::active which is called in loop in feature_style_processor_impl