Yes, this needs to be done with two sets as above reply.
It seems that you don’t want to enter in same month expiry in the last week of expiry, is this correct?
If yes then in Set 1 you need to add ADD Condition with “Days Difference (D2-D1) >= Number(7)” Where D1 will be Today(***) and D2 will be Monthly Expiry-ScripName-0 . And in this Set your positions will be to enter Current Month Expiry 0.
Then Copy same condition to Set 2 Entry and just change the above condition to "“Days Difference (D2-D1) < Number(7)”. And in this set you can enter positions of Current Month Expiry +1.
Now in all your other Repair Conditions if your are squaring off positions you need keep this in mind that while referring to the Expiry in the position building, you should not put Current Month Expiry or Current Month Expiry +1. The Fx for expiry should point to the entered instrument with “Traded Instrument Name” keyword and in it’s detail chose ‘expiry’ under Field, remaining details as applicable to point to the entered instrument that you want to square off.