Get the instance of the API factory, that is, DefaultRulesEditAPIFactory.
DefaultRulesEditAPIFactory apiInstance = DefaultRulesEditAPIFactory.getInstance(); RulesEditAPI api = apiInstance.getAPI();
You get the instance of the RulesEditAPI.