Made CSecureRule a QObject so we can use the deleteLater() managed deletion function of Qt.