Choosing a set number of Rule Group Responses
Rule Groups by default always provide back all the Rules in priority order. In some cases you may only want the top 1, 2 or more. When calling the Rule Group you can select the number of Rules to get back by adding a query string to the call. The Query string is top=N where the N is the number of highest priority Rules you require.
An example call requesting the top two Rules by priority would look like the below https://localhost:8443/invoke/dev/test/groupstestrulefailure?top=2