Fix all rule and handle .anm files