Hey @salman, I have read your post and I had similar requirements as you (Blog system not forum system as in your case, but context are almost same). I have struggled with dirty rules definition and I recently created library
Maybe you could take a look to it and let me know any suggestions/if it fits in your context and what can I improve to fit it