1. A method implemented by a computing device including at least a processor, the method comprising: analyzing, by the processor, access rules corresponding to a first layer in a protocol stack, wherein the protocol stack includes a plurality of layers, wherein the access rules determine, at the first layer, whether network sources are permitted access to the computing device, wherein a first access rule is maintained for the first layer; generating, by the processor, a filter including dependent access rules based at least in part on combining a plurality of the access rules from the first layer, wherein the dependent access rules include one or more of the same access rules as the plurality of access rules, wherein a first dependent access rule is derived from the first access rule; assigning, by the processor, the filter including the dependent access rules to a second layer in the protocol stack by implementing the filter including the dependent access rules at the second layer to determine, at the second layer, whether the network sources are permitted access to the computing device; in response to receiving a packet from a network resource at the second layer, using the first dependent access rule of the filter at the second layer to permit or deny the packet at the second layer; and in response to receiving the packet at the first layer, using the first access rule to permit or deny the packet at the first layer, wherein the dependent access rule of the filter is used at the second layer for filtering the packet before the packet is delivered to the first layer.