Added a bunch of code to the Rule Engine and made it a much more generic library without any references to the DocPurge project itself.