Implementing configuration method for the rarity bonus in Armor Class