Adds creating, assigning and import rarities.

[Finishes #62508032]