Fixed schematron generation issues that caused logically duplicate rule contexts