A rate type constitutive law including explicit localisation: development and implementation in a finite element code