Extracting common element from mysql and percona elements to its own