The Spanish rule is if the word ends in an "a". The word begins with:

El-masculine

La-feminine

El and La are both articles in Spanish. "El" is used before masculine nouns, while "La" is used before feminine nouns. These articles are used to indicate the gender of the noun they are preceding.