The RGB sample of intermediate BL lacertae objects