Unfortunately, it is just a matter of memorising the gender. There is no specific rule.
---------------------------------------------------------------------------------------------------------------------------
Vasiliki Baskou, Instructor/Director, https://learn-greek-online.com.