Port the grammar rule functionality added in Project-OSRM/osrm-text-instructions#102, along with the Russian declension rules.