1st running version

bugs regarding rules execution -> fixed