fix Stack Overflow
add missing parameter
remove debugging ReadAll call
Merge remote-tracking branch 'origin/PaymentRules' into PaymentRules-UI