removing unused debug funcs
bug in debugCharacters
bug in param checking (debugRulings)