Cleaned up search regexes and field rules.