[DROOLS-564] NPE when using globals as query element inputs
(cherry picked from commit 9db38d098e67560839b36661bdf24a5f5cdae1df)
[DROOLS-114] Support defeasible rules
(cherry picked from commit 7941a0c8d7e66c6c7719c14ca58d798337d067d8)
[DROOLS-565] Retrieve the rule that caused a RuleRuntimeEvent
(cherry picked from commit 785e278a874d8ff4d6f4dc592115f93342c9e405)