improve KieCommands API
(cherry picked from commit 80c505939abb1d4ea9a18dd6c3fe916c26efdeb2)