fix writing and add reading of BusinessRule
small refactorization
support for debug data (import from private/data.py file)
rename callbacks name for consistency
fix method's name
add support for conditions