implement OR logic in ProcessPattern.get_resource_types