Configuring rules to address unscannable and encrypted files