add css template for rm