updated rule logic, added cloud endpoint to check if user has left bounds