I noticed that when process instance reachs rule task node, application needs to call ksession.fireAllRules to move process instanct forward.
I wonder why need to issue such a call. I think it would be better that when process instance arrived, all rules will be fired automatically, just like when process instance reached a script task, the script will be run automatically.