Updated repo code translation rules and mappings