Adds rewrite rule to functions.php