Fix: Refactoring of "Excludes rules" processing

Excludes rule should take care of detected apps only
Merge pull request #525 from lcherpit/apps_excludes_fix

Fix: Refactoring of "Excludes rules" processing