Added pdf rule and boilerplate