Rules engine coded

Rules engine views and view models created