Thanks @biaozeng, for providing the reproduction data.
The issue is caused by not separating the footprint geometries. Therefore the rule package (rpk) is applied on a single big geometry that fails to fully generate.
To fix this, add an additional attribute "primCls" with the value "$PR" (Primitive Number) before assigning the rpk:
ThomasFuchs_0-1678286478408.png
This will lead to the correct result:
ThomasFuchs_1-1678286610367.png