[ONOS-4992] Modify the return signature for FlowRuleService for consistent return object

Change-Id: I06154d79ea9d875c503369dcb77d5fffcfbd4467
diff --git a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleService.java b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleService.java
index 52af84a..62e725e 100644
--- a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleService.java
+++ b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleService.java
@@ -88,9 +88,18 @@
      * @param id the application ID to look up
      * @return collection of flow rules
      */
+    @Deprecated
     Iterable<FlowRule> getFlowRulesById(ApplicationId id);
 
     /**
+     * Returns a list of rules with this application ID.
+     *
+     * @param id the application ID to look up
+     * @return collection of flow rules
+     */
+    Iterable<FlowEntry> getFlowEntriesById(ApplicationId id);
+
+    /**
      * Returns a list of rules filtered by application and group id.
      * <p>
      * Note that the group concept here is simply a logical grouping of flows.