Add import function on rule interface

This is for importing data from storage, e.g. :
rule->import(sql_fetchrow())