Added rules to XSLT

Need further validation