Nicholas:
I tried running your code, but SimpsonsRule and ResPote are undefined. Could you provide code that the community to run? That would make it easier for the community to help.
That said, you can use ToString[] on an expression. For example,
ToString[x*y*z]
Produces:
"x y z"
Which you could then write to a file.
Have a great weekend.