There is line "tools.doActivity(flow, interestPage, newParamsPage);" in the function, I have checked the arguments passed and I am not able to find which acitivity is getting called here, if anyone knows please share.
It will run the flow rule with the parameters set in the function.
In the function, these parameters are set.
// Call the flow to populate the flow actions
ParameterPage newParamsPage = new ParameterPage();
When you view the java for the flow rule, you will see where these parameters are checked and the code that is then executed.