added references to rules causing the ts errors
fixed build scripts