Rules now working as intended