rules: avoid parallel update

Use transaction to avoid parrallel update.
rules: add CSS to display status
rules: minor CSS change
rules: add missing template

I forgot to add template when adding feature.