refine trusted html rules