Implementation-independent inflection rules for Petrovich