LPS-37761 When deactivating a device rule the user is redirected to another page