Automate Noise Sensitive Designs of SMD For 95% Sensitivity
This is doable, because a human can do it. The short of it is, however, that you can not write the automation process without a full picture. Automating those three rules is worthless without other rules.

If you gave it rule two for example, you might get a board where every power line is clumped in the center and some MEMs sensors are off on the side of the board. This would be bad for completely different reasons concerning board vibration. I see what you're saying about caring for the two hardest portions (power and clock), but without knowing the shortest path of every IO, which IOs are more sensitive to the power, which IOs radiate more towards the clock, you just can't automate this.

Now if you go and do all those exercises then you need a scripts which take them into account, gives a weighting algorithm (or something) for highest risk lines, and then places between X line. Then we get into a script that runs a calculation on parasitics and noise in neighboring lines. If you do this and have the distances auto adjust or add shielding then you have replicated $10,000 software which a lot of people spent a lot of time on.

I say this not to discourage, because I love the idea of automation (open source). I say this to let you know the tools are out there and this is doable, but complicated. Best of luck in this and if you are taking a stab, go at it step by step. There's no right starting place but knowledge.