Legal rules affect the PESTLE analysis by shaping the political, economic, social, technological, legal, and environmental factors within a country or market. They regulate market entry, business conduct, labour relations, and overall industry landscape. Legal rules can create opportunities or barriers for businesses, influencing their strategies and operations. Additionally, compliance with these rules is essential for businesses to avoid fines, lawsuits, or reputational damage.