rules xml