applying rules css layout file