Fix. Don't work discovery rules on FreeBSD.