Fixed edit rule to delete properly
added sim fixed delte device (name)