Fix rule delete button and ajax loader