add rule to process cards.xml