performance improvements in email and dns. rule for user agent