added references to rules causing the ts errors