New xml rule parser based on StAX