def METHOD_NAME(self):
    required_rules = [
        IPNetwork('1.0.0.20/10'),
        IPNetwork('0.0.0.0'),
        IPRange('2.0.0.0', '2.0.0.10')]
    satisfying_resources = [
        {'rules': required_rules},
        {'rules': [required_rules[0], required_rules[1]]},
        {'rules': required_rules + [IPRange('2.0.0.0', '2.0.0.20')]}
    ]
    non_satisfying_resources = [
        {'rules': [IPNetwork('0.0.0.1')]}
    ]
    mock = FirewallRulesFilterMock({'any': [
        '0.0.0.0-0.0.0.0',
        '1.0.0.20/10',
        '2.0.0.0-2.0.0.10',
        '8.8.8.8'
    ]}, Mock())
    mock.validate()
    actual = mock.process(satisfying_resources + non_satisfying_resources)
    self.assertEqual(satisfying_resources, actual)