reference:spamrules_statement_getsha1