His lawyer Karpal Singh filed the two applications at the Sessions Court registry here.
In his application, Anwar, a former deputy premier, said the charges should be struck out on the grounds that the prohibitory order issued by a magistrate over the gathering at the independence square in downtown Kuala Lumpur was invalid.
Anwar and two opposition party colleagues were charged last week with breaking a new law outlawing street marches and violating a court order specifically banning the rally from the down town centre.
On April 28, thousands of people gathered here to demand total electoral reforms. The rally had the backing of the opposition groups.
Some protesters breached a security barricade leading the police to open tear gas and fire water cannons touching off clashes that saw more than 500 people arrested.
Anwar has dismissed the charges as a ploy to remove him from politics ahead of elections that could be called soon.
The opposition leader has pleaded not guilty and vowed to fight the charges, he could be fined up to 10,000 ringgit (USD 3,100) for the charge under the assembly law.
In Malaysia, anyone fined more than 2,000 ringgit for a crime is barred from contesting elections for five years although they can run while any guilty verdict is on appeal.