Implemented load and store functions for rules

Jira issue HUBHAC-7