Adding css manager for dynamic css rules and files in layout printing