Issue #3027486 by TR: Consistent datatypes for Rules system variables 'rules_debug' and 'rules_debug_log'