Document type restrictions for folder

Hi Team,
I have two name space in my project and two root folders also in cms. I have given document type restrictions for each main folder according to the namespace. But when I am creating any inner child folders every time I need to give the restrictions for corresponding namespace doctypes or if i am giving doctype restrictions for main folders it will automatically work for inner folders also? Because I saw in my inner folders it is showing all the document types for the 2 name spaces. Shall I give the restrictions for all inner folders also every time when I am creating folders. Is there any way to restrict corresponding name space document types to be shown in corresponding root folders and sub folders in one restriction?