CoreBundle, AppKernel rewrite