The Victorian Andrews Government is re-writing the mental health legislation as part of the mental health royal commission reforms.