The influence of earthquake gates on surface rupture length