User should be asked for a confirmation on clicking the delete rule button before the delete is executed. Ref link for doing this - https://stackoverflow.com/questions/23775272/bootstrap-modal-before-form-submit