ACT Greens leader Shane Rattenbury gave his final speech to the Legislative Assembly after more than 18 years in politics.