Adaptive optimization of packet filtering devices performance ensuring a conflict-free network configuration