lib-rules-regs