Slightly different method of installation worked for me. First I copied AppleRTC.kext from System/Library/Extensions to ~/Documents folder. After which I deleted it from S/L/E. Then I ran:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' ~/Documents/AppleRTC.kext/Contents/MacOS/AppleRTC
With the code provided by Shelby earlier in this thread.
And to finish off, I installed Kext Helper from Multibeast, dropped the new AppleRTC.kext from Documents onto it, and selected Easy Install (after entering my Admin password).
Just running the code on AppleRTC.kext in my S/L/E folder didn't work for me and would make Lion hang on startup. Doing it this different way worked for me, and sleep now works without producing a CMOS Reset upon restart. I suspect you could get the same result by repairing permissions on your S/L/E folder after changing the code in AppleRTC.kext, but the method above was more foolproof for me.