Yes, it does work like that. In the Game of Thrones, from all instances that we have seen, Westeros goes by true-born, patriarchal kinship, not by simple marriage. The key word being "patriarchal". All the sons inherit, in order by age, before any daughter inherits. Husbands rule for their wives.