Inline Layer 3 is a remote network of an Inline Layer 2 - New filter based on the network (cidr representation)

For review and merge.
Can't we reuse the `getType` function? Or call `getEnforcement` from `getType`? Please avoid duplicated code.