Add the check for boolean options as in e.g., the stats rule module.