rehabilitation agreement