SONARJAVA-446 RSPEC-1166 Exception should preserve original exception

Scope of the rule has changed and therefore rule was rewritten based on symbol table.
A parameter of rules to ignore has been added.