Combine add/rule to one html file