Yes, there are definitely rules for stowage and segregation, taking into consideration the dangerous goods that are packed within the containers and the different categories of cargo that will be going on board the vessel. The shipmaster with his crew will do the stowage of those goods according to those regulations.
On March 29th, 2022. See this statement in context.