diff --git a/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala b/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala index 3dfdfb14e..453d26942 100644 --- a/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala +++ b/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala @@ -17,9 +17,7 @@ trait DynamicRuleMerger { try { val internalRuleMap = mutable.Map( - internalSinkRules - .filter(rule => rule.domains.nonEmpty && rule.name.nonEmpty) - .map(rule => ((rule.domains.headOption.get, rule.name, rule.filterProperty), rule)): _* + internalSinkRules.map(rule => ((rule.domains.headOption.get, rule.name, rule.filterProperty), rule))* ) externalSinkRules.foreach { externalRule =>