Fixed an error where all rules are declared true by default
Fixed an error where rules with no children were also true by default.
Fixed an issue with loading files in linux, will need to be retested in windows