Rules now working