Added Rule Front End Code