Corrected the spelling of two policy rules

Also added the possibility to activate the debug mode through a file named "debug" in the sif dir, small refactoring