refactor: improve code for policies
fix: add missing parenthesis
Merge pull request #9 from feedthebayer/policy-refactor

refactor: improve code for policies