Fix rule relevancy checking

Rules were not being properly checked for relevancy before running their closures. This fixes that. Comments attached to commits.