Fixed bug in add_search_rules.py. Added delete_search_rules.py.