RulePrompt: Weakly Supervised Text Classification with Prompting PLMs and Self-Iterative Logical Rules