diff --git a/lib/config/applyrule.cpp b/lib/config/applyrule.cpp index 737b47d7c..11870e70e 100644 --- a/lib/config/applyrule.cpp +++ b/lib/config/applyrule.cpp @@ -71,10 +71,7 @@ void ApplyRule::AddRule(const String& sourceType, const String& targetType, cons bool ApplyRule::EvaluateFilter(const Dictionary::Ptr& scope) const { - scope->Set("__parent", m_Scope); - bool result = m_Filter->Evaluate(scope); - scope->Remove("__parent"); - return result; + return m_Filter->Evaluate(scope); } void ApplyRule::EvaluateRules(bool clear)