Created Rules system
 * Renamed gridview to controller
 * Controller is responsible for sending pieces of information to rules.
 * Rules creates alerts that controller has to fetch.