Filter posts and custom taxonomy using add_rewrite_rule

Filter posts and custom taxonomy using add_rewrite_rule