Try to fix rotation issues
Update custom_rules