Change StreamRule types visibility

As the web interface needs to access some details of those types.