Scope level rules

Hi,

I have added suport for scope level user rules. With this mechanism You can add a rule to scope and all calles in scope will use this rule. 

I've also upgraded the sln to vs 2012 it should now work on 2012 and 2010. You can pick only my secound commit to revert VS upgrade.

Hope You like my idea with scope level rules.

regards,

Sławek