I am creating a pcb with a lot of cutouts. These cutouts shouldn’t be less than 5mm away from the board edge, or another cutout. I want to make a custom rule for this.

I tried the following 4 rules:

```
(rule "edge to edge 1"
(constraint clearance(min 5mm))
(condition "AB.existsOnLayer('Edge.Cuts')")
)
(rule "edge to edge 2"
(constraint clearance(min 5mm))
(condition "A.Layer == 'Edge.Cuts' && B.Layer == 'Edge.Cuts'")
)
(rule "edge to edge 3"
(constraint edge_clearance(min 5mm))
(condition "A.Layer == 'Edge.Cuts'")
)
(rule "edge to edge 4"
(constraint edge_clearance(min 5mm))
(condition "B.Layer == 'Edge.Cuts'")
)
```

Edge to edge 1 and 2 seem to do nothing. And edge to edge 3 and 4 seems to be acting as a rule between anything copper, and the board edge. Which also isn’t what I want

Is there any way of specifying a working design rule for this?