added rules for embedded html