There is a text in Arabic by Sahl Bin Bishr Al-Israeli that says:
look at the ruler of the ascending and the ruler of the fifth, if they are in a male sign, then the fetus is male.
If the two planets are in a feminine sign, the fetus is feminine.
And if one of them is in a male sign, and the...