loadrules optimisations
including atomic transactions in test and prod