Adding more Bazel BUILD files

- added defs for CLI and REST

Change-Id: I6ce2c5aac5fcdd265561d6aa2abba66f5556ff3a
diff --git a/lib/BUCK b/lib/BUCK
index 85a235f..2e3302b 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Mon, 2 Jul 2018 20:10:43 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Wed, 11 Jul 2018 05:19:09 GMT. Do not edit this file manually. *****
 # ***** Use onos-lib-gen *****
 
 pass_thru_pom(
@@ -178,6 +178,24 @@
   ],
 )
 
+osgi_feature_group(
+  name = 'CLI',
+  visibility = ['PUBLIC'],
+  exported_deps = [
+    ':org.apache.karaf.shell.console',
+    '//cli:onos-cli',
+  ],
+)
+
+osgi_feature_group(
+  name = 'REST',
+  visibility = ['PUBLIC'],
+  exported_deps = [
+    ':javax.ws.rs-api',
+    '//utils/rest:onlab-rest',
+  ],
+)
+
 remote_jar (
   name = 'aopalliance-repackaged',
   out = 'aopalliance-repackaged-2.5.0-b42.jar',