Stringent measures will be taken to ensure rule of law: Ashraf Ghani