Fix bug in rpc interception

Rationalise the policy manager enforcement response to a simple binary, based on 0 == permit and anything else is denied.

Jira issue: wp-956
Merge pull request #12 from TobyEalden/dashboard-prompting-03

Fix bug in rpc interception