rules: factorize javascript code

Put common JS functions in scirius.js file and load this file in
the base template.
rules: update cursor on .msg

As .msg can be clicked to get the detail of a rule it is sane to
use a specific the cursor. Hard to choose one here but row resize
seems the more natural here.