work on rule extension
integrated views into rules