Using the perl utility rename(sometimes called prename):
rename 's|ada/rda/([^/]*)/([^_]*).*|ada/rda/ada-$1-$2.md|' ada/rda/*/*
(Note: by default, some distributions install a command renamefrom a package util-linux. This command is incompatible . If you have such a distribution, see if a version of perl called prename. Is available .)
How it works
rename perl . . substitute . , , .
s|old|new|. old ada/rda/([^/]*)/([^_]*).*. 1 ( _) 2. new ada/rda/ada-$1-$2.md. , .