Add pattern_decl rule