AERGO-548 AddTieRestatementConstraints Template done.

Also add some quoting to AttributeRestatementConstraints and drop the constraint before adding it to make the script re-runnable.