updating deprecated settings structure
overriding constructor in custom rules to set test key there
adding getTestKey shortcut method to Rule
adding deprecation checking into Scan class