BS-10723, add rule for documents