@User Could you take a look at it please, whether you can see any problems? Or are there any fundamental issues in the DRC engine of magic so that my approach to expand the DRC rules cannot work? In the Makefile you can see how everything is generated.