tidied up comments in SPINrules1
is_credited now working
All codes moved over.  Now for validity checks?