Sample xml format for rules (ivan's suggestion)