Refactoring determineComplianceUntilDate

- Removing reliance on helpers.
- Pass entire set of entitlements to the rule call so
  that they do not have to be looked up for each recursive
  call.