Another way to look at the remediation strategy is to have an independent source for building fix content. The source would provide basic information needed to change a system to a secure state. This information would reside alongside the check information in the XCCDF policy. Having a common source will help in achieving consistency in remedial actions performed by differing scripting languages or fix systems .
This method could also be used as a way to check parity in the checking and fixing content for correctness.
This is probably a good time to review Common Remediation Enumeration and see if fits into the project objective. CRE was created to identify and provide a reference point for actions necessary to correct a security issue. Based on the CRE-ID one could build remediation scripts and systems in a referenced way. The CRE-ID could also be used for traceability in troubleshooting and change control management.