Rule resolution process in pega