Replace zone define with xml provider
Add rich rule provider
Add backwards compatibility
Add similar interface to rich_rules as for zones