Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Just to be clear, Megas and Primals count as being from the same gen as the base form. So Primal Kyogre and Mega Sableye count as Gen 3, Mega Lucario counts as Gen 4 etc. Sorry for wording it poorly in the thread.