Test names must not start with a number, and must contain only alphanumerics and underscores. It is suggested that lower-case characters not be used, and names have a length of no more than 22 characters, as an informal convention. Dashes are not allowed.
Background
The issue
You are able to make and submit rules that do no follow the required convention
https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html
Proposed solution
Use JavaScript to enforce the correct syntax.