Add flush on remoteStream / Add CheckRules for GIT