Add rule on ajax success