Refactor of the OSGI bazel rules

- renamed the .bzl file to match the accepted snake case naming standard
- removed an uneccesary veneer method inside the rule implementation

Change-Id: I1e0f5aecf1d4b7b73e7376c1bb4c296960aaa5fc
diff --git a/protocols/p4runtime/proto/BUILD b/protocols/p4runtime/proto/BUILD
index 73c65b0..2f5e7fd 100644
--- a/protocols/p4runtime/proto/BUILD
+++ b/protocols/p4runtime/proto/BUILD
@@ -4,14 +4,14 @@
     deps = ["@p4lang_pi//:p4_runtime_proto"],
 )
 
-wrapped_osgi_library(
+wrapped_osgi_jar(
     name = "rpc_java_proto-osgi",
     jar = "@google_rpc//:rpc_java_proto",
     visibility = ["//visibility:public"],
     deps = CORE_DEPS + ["@protobuf_java_3_2_0//jar"],
 )
 
-wrapped_osgi_library(
+wrapped_osgi_jar(
     name = "p4_runtime_java_proto-osgi",
     jar = ":p4_runtime_java_proto",
     visibility = ["//visibility:public"],