Added loader with rules
Rules are now saved