save restore commands into files (debug help)

To make it easier to debug restore errors.
verify_rule: correctly set ipversion for aliases
bump version to 1.0-11