Generate onos_app rule

There are three genrules:
 1. Build features.xml
 2. Build app.xml
 3. Generate app.oar

Change-Id: I6adfd47fadf40ad2440998071a01894458629ac6
diff --git a/apps/fwd/BUCK b/apps/fwd/BUCK
index 6a2fac0..1e49af9 100644
--- a/apps/fwd/BUCK
+++ b/apps/fwd/BUCK
@@ -14,7 +14,7 @@
     '//lib:TEST',
 ]
 
-java_library(
+osgi_jar(
     name = CURRENT_NAME,
     srcs = glob([SRC + '/*.java']),
     deps = COMPILE_DEPS,
@@ -29,3 +29,16 @@
            [CURRENT_TARGET],
     source_under_test = [CURRENT_TARGET],
 )
+
+BUNDLES = [
+    (CURRENT_TARGET, ONOS_GROUP_ID + ':' + CURRENT_NAME + ':' + ONOS_VERSION),
+]
+
+onos_app(
+    app_name = 'org.onosproject.fwd',
+    title = 'Reactive Forwarding App',
+    category = 'Traffic Steering',
+    url = 'http://onosproject.org',
+    description = 'Reactive forwarding application using flow subsystem.',
+    included_bundles = BUNDLES,
+)
\ No newline at end of file