Added heredity type to the mendel rules.