[rules-users] How to store and load rules from the database