Switch to side-by-side view

--- a/backend/notificationManager.js
+++ b/backend/notificationManager.js
@@ -24,6 +24,10 @@
 			logger.info(handler,"Executing callback");
 			cb(false);
 		}else{
+			if(rules.length == 0){
+				var res = "There is no Rules for this vApp : " + appToken;
+				cb(true, res)
+			}else{
 			//iterate the body
 			body.forEach(function(eachBody, bodyIndex){
 				//prepare the response with some structure
@@ -89,7 +93,8 @@
 				})
 			})
 		}
-	})
+	}
+})
 }
 
 /*