added rules
added rules+pdf