[SQL] Cleaned up ConstantFolding slightly.

Moved couple rules out of NullPropagation and added more comments.