DELETE FROM civicrm_managed WHERE module = 'org.civicoop.civirules';
DELETE FROM civicrm_option_value WHERE name = 'CRM_Civirules_Form_Search_Rules';