Old programs and scripts that are designed to use 
-bt
 mode to test addresses and the like tend to break with each release of 
sendmail
. Fortunately, they are easy to fix if you know the language involved.
There is no way to currently define rules on the fly. Consequently, you need to modify a configuration file and run sendmail in rule-testing mode repeatedly until the new rules work.