The same family has ruled Brunei for over six centuries .