Use the stream_name settings in the rules api calls

I was wondering why my rules API calls were hitting the wrong endpoints ;)