Rule writing with SimpleXSLT language