rule->bbs & fixed missing brackets