move setequal, fix load file

Moved "setEqualTo" to run only in applyRules
Fixed relative pathing issue on load files