Refactored SLRE command line utility

Should we have a rule that actually runs this code or do you plan to put it in the slre repo?