a bit of code reorganization
Merge pull request #933 from williampma/RuleScmOrganize

A bit of relex2logic.scm code reorganization