Added Rule Display Lobic
Made UI changes
mainwindow