Add debugging to reminder rule processing

Depends on https://github.com/dimagi/dimagi-utils/pull/207