How to replace structure voids, after processor changes blocks

"processor_type": "minecraft:rule",
      "rules": [
        {
          "location_predicate": {
            "predicate_type": "minecraft:always_true"
          },
          "input_predicate": {
            "predicate_type": "minecraft:random_block_match",
            "block": "minecraft:structure_void",
            "probability": 0.4
          },
          "output_state": {
            "Name": "minecraft:gravel"
          }
        }

currently doing this, but because structure void is being replaced before processor replaces gravel, this just spawns a structure with the structure void blocks and not their replacements, any workarounds?

p.s sorry for the broken english, i will understand everything you will tell me, but it may take some time for me to answer properly (grammar checker 🗿)

Continue to help post