Create Key

key, rank, decomposition rules in each key