Fix: add parenthesis in ldap filter
FIX: remove exception when LDAP search return None
Rules processing